package com.ruoyi.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class PayConfig {

    @Value("${pay.alipay.appid}")
    private String ali_app_id;

    @Value("${pay.alipay.privatekey}")
    private String ali_private_key;

    @Value("${pay.alipay.publickey}")
    private String ali_public_key;

    @Value("${pay.alipay.notifyUrl}")
    private String ali_notify_url;

    //########### wx config ############
    public static String appId;
    public static String mchId;
    public static String openId;
    public static String mchSerialNo;
    public static String apiV3Key;
    public static String privatekey;
    public static String privatekeyPath;
    public static String notifyUrl;

}
